<template>
  <div class="loading-box">
    <a-spin class="spin" />
  </div>
</template>

<script lang="ts" setup>
  import {} from 'vue'
  import aSpin from '@arco-design/web-vue/lib/spin/index'
</script>

<style scoped lang="less">
  .loading-box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(0 0 0 / 10%);

    position: absolute;
    top: 0;
    left: 0;

    .spin {
      position: absolute;
      top: 50%;
      left: 50%;
      z-index: 10000;
      // width: 30px;
      // height: 30px;
    }
  }

  :deep(.arco-spin) {
    transform: translate(-50%, -50%) !important;
  }
</style>
